package com.security.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author xsy
 * @createTime 2023/2/5  13:13
 * @description
 * @since 1.0
 *
 * http://localhost:8001/oauth/authorize?client_id=user-client&response_type=code&scope=all&redirect_uri=http://www.baidu.com
 *
 * post http://localhost:8001/oauth/token?client_id=user-client&client_secret=secret123&grant_type=authorization_code&redirect_uri=http://www.baidu.com&code=sEDFe
 *
 * get http://localhost:8002/api/getTest
 * Authorization=bearer 694d4d4d-0ed2-4da9-95a2-5e2e3d539465
 */
@SpringBootApplication
public class AuthServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(AuthServiceApplication.class);
    }

}
